-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Network] Update application gateway #22489
Conversation
Network |
- name: Update settings. (autogenerated) | ||
text: | | ||
az network application-gateway settings update --gateway-name MyAppGateway --name MySettings --probe MyNewProbe --resource-group MyResourceGroup | ||
crafted: true | ||
- name: Update settings. (autogenerated) | ||
text: | | ||
az network application-gateway settings update --gateway-name MyAppGateway --host-name-from-backend-pool true --name MySettings --port 80 --probe MyNewProbe --resource-group MyResourceGroup | ||
crafted: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these two examples have the same name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will revise it.
@@ -139,6 +139,7 @@ def load_arguments(self, _): | |||
c.argument('zones', zones_type) | |||
c.argument('custom_error_pages', min_api='2018-08-01', nargs='+', help='Space-separated list of custom error pages in `STATUS_CODE=URL` format.', validator=validate_custom_error_pages) | |||
c.argument('firewall_policy', options_list='--waf-policy', min_api='2018-12-01', help='Name or ID of a web application firewall (WAF) policy.', validator=validate_waf_policy) | |||
c.argument('priority', min_api='2021-08-01', type=int, help='Priority of the request routing rule. Supported SKU tiers are Standard_v2,WAF_v2') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to add a space:
c.argument('priority', min_api='2021-08-01', type=int, help='Priority of the request routing rule. Supported SKU tiers are Standard_v2,WAF_v2') | |
c.argument('priority', min_api='2021-08-01', type=int, help='Priority of the request routing rule. Supported SKU tiers are Standard_v2, WAF_v2.') |
path, interval=30, timeout=120, threshold=8, no_wait=False, host_name_from_http_settings=None, | ||
min_servers=None, match_body=None, match_status_codes=None, port=None): | ||
def create_ag_probe(cmd, resource_group_name, application_gateway_name, item_name, protocol, host, path, interval=30, | ||
timeout=120, threshold=8, no_wait=False, host_name_from_http_settings=None, min_servers=None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timeout=120, threshold=8, no_wait=False, host_name_from_http_settings=None, min_servers=None, | |
timeout=120, threshold=8, no_wait=False, host_name_from_http_settings=None, min_servers=None, |
Resolves: #21165
Related command
Description
'az application gateway create' : add parameter --priority,
'az network application-gateway probe' : add parameter --host-name-from-settings
add command 'az network application-gateway settings','az network application-gateway listener','az network application-gateway routing-rule'
Testing Guide
History Notes
[Network]
az network application-gateway
: Addsettings
,listener
androuting-rule
command groups[Network]
az network application-gateway create
: Add parameter--priority
[Network]
az network application-gateway probe
: Add parameter--host-name-from-settings
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.